package com.sqz.dao;

import com.sqz.pojo.RightsEntity;
import com.sqz.pojo.RolerightsEntity;
import com.sqz.pojo.RolesEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleDao {

    public List<RolesEntity> selectAllRole();
    public List<String> selectRightsByRoleId(Integer roleId);
    public List<RightsEntity> selectAllRights();
    public void addRole(RolesEntity rolesEntity);
    public void addRoleRight(RolerightsEntity rolerightsEntity);

}
